#include "widget.h"
#include "ui_widget.h"
#include <QPushButton>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
//    ui->setupUi(this);
//    QPushButton *button = new QPushButton(this);
//    button->setText("按钮");
//    button->setEnabled(false);
    ui->pushButton->move(200,200);
    ui->pushButton_2->move(200,300);
}

Widget::~Widget()
{
    delete ui;
}

